package inventoryServe.po;


import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2021-06-22
 */

    public class Inventory{


    private  Integer id;

      /**
     * 外键 仓库id
     */
      private Store store;

      /**
     * 外键 供应商产品id
     */
      private Product product;

      /**
     * 产品的 数量
     */
      private Integer num;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Inventory{" +
                "id=" + id +
                ", store=" + store +
                ", product=" + product +
                ", num=" + num +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
